package com.ym.pms.dao;

import com.ym.pms.model.Item;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface ItemMapper {
    int deleteByPrimaryKey(String itId);

    int insert(Item record);

    int insertSelective(Item record);

    Item selectByPrimaryKey(String itId);

    int updateByPrimaryKeySelective(Item record);

    int updateByPrimaryKey(Item record);

    List<Item> queryItemList( boolean flag);

    Integer getItemMaxNo();

    List<Item> findAllSelective(Item record, boolean flag);

    Integer getTotalNumber();
}